package com.scm.biz.dao;

import java.util.List;

import com.scm.biz.bean.OrderTaskFlow;

public interface OrderTaskFlowDao {
    int deleteByPrimaryKey(Long id);

    int insert(OrderTaskFlow record);

    int insertSelective(OrderTaskFlow record);

    OrderTaskFlow selectByPrimaryKey(Long id);
    List<OrderTaskFlow> selectByUnionCode(Long businessId,String unionCode,Integer status);
    int updateByPrimaryKeySelective(OrderTaskFlow record);
    void deleteByAction(Long businessId,String action,Integer staus);
    int updateByPrimaryKey(OrderTaskFlow record);
    int updateByBusinessId(Long businessId,String orderType);
    
}